package cn.ekuma.epos.toolcommand;

import java.util.ArrayList;
import java.util.List;

public class CommandGroup {
    private String groupName;
    private List<I_Command> inCommand;
	public CommandGroup(String groupName) {
		super();
		this.groupName = groupName;
		inCommand=new ArrayList<I_Command>();
	}
    
    public void addCommand(I_Command c){
    	inCommand.add(c);
    }

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public List<I_Command> getInCommand() {
		return inCommand;
	}

	public void setInCommand(List<I_Command> inCommand) {
		this.inCommand = inCommand;
	}
    
}
